home *** CD-ROM | disk | FTP | other *** search
/ Utilities Professional 1-1500 / Utilities Professional 1-1500 (1994)(WPD)[!].iso / 12511500 / var1443.dms / var1443.adf / include / clib / stdarg.h < prev    next >
C/C++ Source or Header  |  1992-09-02  |  320b  |  16 lines

  1. /*
  2.  * STDARG.H
  3.  */
  4.  
  5. #ifndef STDARG_H
  6. #define    STDARG_H
  7.  
  8. typedef    char    *va_list;
  9.  
  10. #define va_start(list,param)  list = ((va_list) &(param)) \
  11.                    + ((sizeof(param) + 1) & ~1)
  12. #define va_arg(list,type)     ((type *)(list += ((sizeof(type) + 1) & ~1)))[-1]
  13. #define va_end(list)          list = ((va_list) 0)
  14.  
  15. #endif STDARG_H
  16.